set(SRCS
  ctkEventAdminImplTestMain.cpp
)

set(MOC_SRCS )

set(MY_MOC_CXX )

#QT4_WRAP_CPP(MY_MOC_CXX ${MOC_SRCS})

# Create a test for this EventAdmin implementation

set(test_executable ${PROJECT_NAME}CppTests)

set(${test_executable}_DEPENDENCIES ${fw_lib} ${fwtestutil_lib})

set(my_includes)
ctkFunctionGetIncludeDirs(my_includes ${test_executable})
include_directories(${my_includes})

ctk_add_executable_utf8(${test_executable} ctkEventAdminImplTestMain.cpp)
target_link_libraries(${test_executable}
  ${${test_executable}_DEPENDENCIES}
)

add_dependencies(${test_executable} ${PROJECT_NAME} ${eventadmin_test})

add_test(${PROJECT_NAME}Tests ${CPP_TEST_PATH}/${test_executable})
set_property(TEST ${PROJECT_NAME}Tests PROPERTY LABELS ${PROJECT_NAME})

# Create a performance test for this EventAdmin implementation

set(test_executable ${PROJECT_NAME}PerfTests)

set(${test_executable}_DEPENDENCIES ${fw_lib} ${fwtestutil_lib})

#set(my_includes)
#ctkFunctionGetIncludeDirs(my_includes ${test_executable})
#include_directories(${my_includes})

ctk_add_executable_utf8(${test_executable} ctkEventAdminImplPerfTestMain.cpp)
target_link_libraries(${test_executable}
  ${${test_executable}_DEPENDENCIES}
)

add_dependencies(${test_executable} ${PROJECT_NAME} ${eventadmin_perftest})

add_test(${PROJECT_NAME}PerfTests ${CPP_TEST_PATH}/${test_executable})
set_property(TEST ${PROJECT_NAME}PerfTests PROPERTY LABELS ${PROJECT_NAME})
